package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 合同履约计划
 *
 * @TableName t_contract_performance
 */
@Data
@TableName(value = "t_contract_performance")
public class TContractPerformance implements Serializable {

    @TableId
    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("合同流水号")
    private Integer contractId;

    @ApiModelProperty("行项目号")
    private Integer lineNo;

    @ApiModelProperty("付款单位名称")
    private String payName;

    @ApiModelProperty("第N次")
    private Integer timeNo;

    @ApiModelProperty("收款比例")
    private String collectRatio;

    @ApiModelProperty("收款税率")
    private BigDecimal collectRate;

    @ApiModelProperty("收款金额")
    private String collectAmount;
  
  @ApiModelProperty("履约付款日期")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date payDate;

}